package frames;

import java.util.ArrayList;
import java.util.List;

public class DoOperationsWithFrames {

	public List<String> deleteOneItemFromList(
			List<String> listOfItemsFromCurrentFrame, int selectedRow) {
		int i=0;
    	List<String> listOfItemFromCurrentFrameTemp = new ArrayList<String>();
    	for (String string : listOfItemsFromCurrentFrame) {
    	    if (i != selectedRow) {listOfItemFromCurrentFrameTemp.add(string); 
    	    //System.out.println("string" + string);
    	    }
    	    i++;
    	}
    	//listOfItemFromCurrentFrameTemp.add("");
		return listOfItemFromCurrentFrameTemp;
	}

	/**
	 * @param args
	 */
	

}
